Log Message |
This Web service operation accepts the log request from the presentation layer. This Web service operation does not return any response.
SOAP Request
<SOAP:Envelope xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/"> <SOAP:Body> <LogMessage xmlns="http://schemas.cordys.com/log/1.0/"> <DC name="user">The user DN</DC> <DC name="url">The URL of the application</DC> <DC name="applicationID">The application ID used by BDI</DC> <DC name="fileName">The htm or js file name where the log message is originating</DC> <DC name="BPM Name">MyProcess</DC> <Level>ERROR</Level> <LocalizableMessage> <MessageCode>Fully Qualified Message ID</MessageCode> <Insertion>insertions to the message if required</Insertion> <Insertion>insertions to the message if required</Insertion> </LocalizableMessage> <Message>Custom messsage</Message> </LogMessage> </SOAP:Body> </SOAP:Envelope>
Request Parameters
Parameter |
Description |
Data Type |
Accepted Input Values |
---|---|---|---|
DC |
Diagnostic context |
String |
|
Level |
The logger level that the receiving SOAP service or web application must use. The value of this field overrides any previously set values. |
String |
DEBUG, INFO, WARN, ERROR, FATAL |
LocalizableMessage |
The standard messages from the message bundle, which can take one or more insertions. |
Complex |
|
MessageCode |
Fully qualified message ID from the message bundle. |
String |
Strings in form <message bundle name>.<message-id in the bundle> |
Insertion |
This can be either simple string or Localizable Message. |
String |
|
Message |
This refers to the custom message. This is an optional parameter and is used only if the localizable message is unavailable. We recommend not to use this parameter. |
String |
|